package com.ict.web.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ict.web.domain.CloudResourceRequirement;
import com.ict.web.dto.InsertCloudResourceDto;
import com.ict.web.dto.UpdateCloudResourceDto;
import com.ict.web.vo.CloudResourceRequirementVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 云资源需求Mapper接口
 * 
 * @author ruoyi
 * @date 2022-03-07
 */
@Mapper
public interface CloudResourceRequirementMapper extends BaseMapper<CloudResourceRequirement> {
    /**
     * 查询云资源需求
     *
     * @param cloudResourceId 云资源需求主键
     * @return 云资源需求
     */
    public CloudResourceRequirement selectCloudResourceRequirementById(Long cloudResourceId);

    /**
     * 查询云资源需求列表
     *
     * @param
     * @return 云资源需求集合
     */
    public List<CloudResourceRequirement> selectCloudResourceRequirementList();
    /**
     * 删除云资源需求
     *
     * @param cloudResourceId 云资源需求主键
     * @return 结果
     */
    public int deleteCloudResourceRequirementById(Long cloudResourceId);

    /**
     * 根据方案id查询详情
     * @param programmeId
     * @return
     */
    public List<CloudResourceRequirementVo> selectCloudResourceListByProgrammeIds(Long programmeId);
}

